package com.smartstate.iot.controller;


import com.smartstate.iot.service.AmmeterMeterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AmmeterMeterController {

    @Autowired
    private AmmeterMeterService ammeterMeterService;

    public  String getSiteByDeviceId(String deviceId) {
        return ammeterMeterService.getSiteByDeviceId(deviceId);
    }
}
